<?php 
require_once("Query.inc");
foreach (Query::$queries as $q) {
	echo "<div>";
	echo "QUERY: <code>".$q[0]."</code><br/>";
	if ($q[1]<>0) echo "<span style='color:red'>Error #".$q[1].": ".$q[2]."</span><br/>";
	else echo "<span style='color:green'>OK: ".$q[3]." rows returned, ".$q[4]." rows affected.</span><br/>";
	echo "</div>";
}
?>
</body>
</html>